package itsm.isperp.framework.domain;

import javax.persistence.Column;

/**
 * 文件上传后的信息.
 * <p>
 * 此类代表一个上传完毕后的文件,其包含如原如文件名,文件大小,类型,保存的位置等信息.
 * </p>
 */
public abstract class UploadInfo extends BaseBean {

	protected static final long serialVersionUID = 1L;

	public UploadInfo() {
	}

	@Column
	protected String name;

	@Column
	protected String path;

	@Column
	protected long size = 0L;

	@Column
	protected String contentType;

	@Column
	protected String ext;

	@Column
	protected String meno;

	@Column
	protected String sourceId;

	public String getName() {
		return name;
	}

	public String getPath() {
		return path;
	}

	public long getSize() {
		return size;
	}

	public String getContentType() {
		return contentType;
	}

	public String getExt() {
		return ext;
	}

	public String getMeno() {
		return meno;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public void setExt(String ext) {
		this.ext = ext;
	}

	public void setMeno(String meno) {
		this.meno = meno;
	}

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

}
